/*
 * @Author: moonwater 13812995013@163.com
 * @Date: 2025-03-04 11:11:07
 * @LastEditors: moonwater 13812995013@163.com
 * @LastEditTime: 2025-03-04 11:13:24
 * @FilePath: \盐师22Git仓库\day07\StaticTests.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
package day07;

public class StaticTests {
    public static void main(String[] args) {
        //调用StaticTest类的静态方法
        StaticTest.test();
        //使用对象调用静态方法（不推荐）
        StaticTest st = new StaticTest();
        st.test();
    }
    }

